package com.guigu.jwy.service.Impl;
import com.github.pagehelper.PageInfo;
import com.guigu.jwy.mapper.DJMapper;
import com.guigu.jwy.service.ServiecDj;
import com.guigu.pojo.MManufacture;
import com.guigu.pojo.MProcedure;
import com.guigu.pojo.MProcedureModuling;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiecDjImpl  implements ServiecDj {
    @Autowired
    DJMapper mapper;

    @Override
    public PageInfo querymps(MProcedureModuling mProcedureModuling) {
        PageInfo list=new PageInfo(mapper.querys(mProcedureModuling));
            // ;
        return list;// mapper.querylist();
    }

    @Override
    public void updatemm(MProcedureModuling mProcedureModuling) {
        mapper.updatemm(mProcedureModuling);
    }

    @Override
    public void updatemming(MProcedureModuling moduling) {
        mapper.updatemming(moduling);
    }

    @Override
    public void updatemp(MProcedure mProcedure) {
        mapper.updatemp(mProcedure);
    }

    @Override
    public PageInfo querysta() {
        PageInfo list=new PageInfo(mapper.querysta());
        // ;
        return list;
    }

    @Override
    public void check(MManufacture mManufacture) {
        mapper.check(mManufacture);
    }

    @Override
    public void updatemnum(MProcedure mProcedure) {
        mapper.updatenum(mProcedure);
    }

    @Override
    public PageInfo view() {
        PageInfo list=new PageInfo(mapper.view());
        // ;
        return list;
    }

    @Override
    public void updatenum(MProcedure mProcedure) {
        mapper.updatenums(mProcedure);
    }

    @Override
    public void addrknum(MProcedure mProcedure) {
        mapper.addrknum(mProcedure);
    }

    @Override
    public String quersckool() {
        return mapper.quersckool();
    }
}
